fix(core): strip template wrapper before linting composition files#111
Merged
miguel-heygen merged 1 commit intomainfrom Mar 28, 2026
Merged
fix(core): strip template wrapper before linting composition files#111miguel-heygen merged 1 commit intomainfrom
miguel-heygen merged 1 commit intomainfrom
Conversation
808a061 to
0641f42
Compare
cd6ed65 to
e0e2513
Compare
Collaborator
Author
4 tasks
0641f42 to
479883a
Compare
e0e2513 to
83401f3
Compare
479883a to
afd329d
Compare
83401f3 to
35505d2
Compare
afd329d to
48573b0
Compare
35505d2 to
cdb6471
Compare
da8d3e2 to
758f6f4
Compare
0922f20 to
e2c84ac
Compare
vanceingalls
approved these changes
Mar 28, 2026
758f6f4 to
2e00ae8
Compare
e2c84ac to
d4f502a
Compare
This was referenced Mar 28, 2026
Collaborator
Author
Merge activity
|
a762f46 to
c741fd5
Compare
This was referenced Mar 28, 2026
0175c77 to
910d51b
Compare
d4a999e to
268cf0d
Compare
268cf0d to
56cd94f
Compare
910d51b to
7085ca1
Compare
56cd94f to
c073a4b
Compare
7085ca1 to
3b76ee2
Compare
c073a4b to
26ec4ef
Compare
3b76ee2 to
0a1a093
Compare
26ec4ef to
f89e26d
Compare
0a1a093 to
d551be4
Compare
f89e26d to
ee98aca
Compare
d551be4 to
2a2a676
Compare
ee98aca to
d5f3bef
Compare
2a2a676 to
87a108d
Compare
d5f3bef to
80c0932
Compare
87a108d to
126b1b6
Compare
80c0932 to
aa0489c
Compare
126b1b6 to
327d0c5
Compare
aec2f11 to
24c13e0
Compare
327d0c5 to
348d260
Compare
24c13e0 to
95d7dc0
Compare
348d260 to
91c73ec
Compare
- Strip <template> wrapper before linting composition files — compositions are always wrapped in <template id="..."> tags, causing false positives for missing data-composition-id and dimensions - Downgrade timed_element_missing_visibility_hidden from warning to info — most HyperFrames compositions use GSAP to manage visibility via opacity animations, not class="clip" - Skip visibility check for composition roots and hosts (data-composition-id, data-composition-src) — the runtime manages their lifecycle - Accept opacity:0 as a valid initial hidden state alongside visibility:hidden - Add "info" severity level to lint types Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
91c73ec to
c807643
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
<template id="...">tagsmissing-composition-idon files that have it inside<template>missing-dimensionson files that havedata-width/data-heightinside<template><template>wrapper before linting, matching how the runtime and preview server handle these filesTest plan
strips <template> wrapper before linting composition files🤖 Generated with Claude Code